Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


PreviousPrevious NextNext

~George Minkrozenjip 19.Jan.04 04:09 PM a Web browser
Domino Designer All Releases All Platforms

I'm using the function below to get xml from one of our supplier. (in this case, a list of products). I am new to XML, the first part is working, but now I don't know how to transform the result to create notes documents based on the result. Is it something I can do with lotusscript or it has to be done with Java? I looked at the DOMParser, but my inputStream is not a saved xml file (it's my text result). Someone can point me to the right direction please?

Thanks in advance,
Genevieve Godbout

Sub SendXMLHTTPRequest(req)
' Create the XMLHTTP object which we will use to send the request and receive the response
Dim responseText As String
Dim xmlhttp
On Error Resume Next
'You may also use "MSXML2.XMLHTTP", but ServerXMLHTTP is more app-friendly
Set xmlhttp = createObject("Msxml2.serverXMLHTTP")

'Post the request to the server
Msgbox("Sending..." & req)
xmlhttp.Open "POST", MustangServerURL, False
xmlhttp.setRequestHeader "Content-Type", "text/xml"
xmlhttp.Send (req)

ResponseText = xmlhttp.responsetext

'Msgbox("The following is your Response : " & ResponseText)

'Clean up the objects we used
Set xmlhttp = Nothing

End Sub

XML HTTP Request - how to transform... (~George Minkroz... 19.Jan.04)
. . RE: XML HTTP Request - how to trans... (~Nicole Fezweso... 20.Jan.04)
. . RE: XML HTTP Request - how to trans... (~Kirk Elreterod... 19.Jan.04)
. . . . RE: XML HTTP Request - how to trans... (~George Minkroz... 19.Jan.04)

  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS